package com.ccsoft.atools.model;

import java.io.Serializable;
import java.util.Date;

public class SysUserRole implements Serializable {
    private Integer iid;

    private Integer user_pk;

    private Integer role_pk;

    private String userid;

    private String roleid;

    private Date create_time;

    private static final long serialVersionUID = 1L;

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public Integer getUser_pk() {
        return user_pk;
    }

    public void setUser_pk(Integer user_pk) {
        this.user_pk = user_pk;
    }

    public Integer getRole_pk() {
        return role_pk;
    }

    public void setRole_pk(Integer role_pk) {
        this.role_pk = role_pk;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid == null ? null : roleid.trim();
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", iid=").append(iid);
        sb.append(", user_pk=").append(user_pk);
        sb.append(", role_pk=").append(role_pk);
        sb.append(", userid=").append(userid);
        sb.append(", roleid=").append(roleid);
        sb.append(", create_time=").append(create_time);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}